/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.behavioral.iterator.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DesignPatterns.behavioral.iterator.Item;
import za.ac.cput.DesignPatterns.behavioral.iterator.Menu;

/**
 *
 * @author Nashief
 */
@Configurable
public class IteratorConf {
    
    @Bean 
    public Item item(){
    
        return new Item("spaghetti", 7.50f);
    
    }
    @Bean
    public Menu m(){
    return new Menu();
    }
}
